import { NgModule } from "@angular/core";
import { Routes, RouterModule } from "@angular/router";
import { HomeComponent } from './home.component';
import { HomeResolveService } from 'src/app/service/router-resolve/home/home-resolve.service';

const routes: Routes = [
  {
    path: "",
    component: HomeComponent,
    resolve: {
      storage: HomeResolveService
    }
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class HomeRoutingModule {}
